package com.example.labyrinth;

import java.util.ArrayList;
import java.util.List;

public class LabyrinthBuilder {
    private List<List<Character>> labyrinth = new ArrayList<>();

    public void addLine(String lineString) {
       
        
        List<Character> line = new ArrayList<>();
        for (int i = 0; i < lineString.length(); i++) {
            line.add(lineString.charAt(i));
        }
        labyrinth.add(line);
    }

    public List<List<Character>> build() {
        return labyrinth;
    }
}
